package com.mixes.logic;

import java.util.HashMap;
import java.util.LinkedList;

import com.mixes.field.IField;

/**
 * Interface of Logic class
 * @author $Author:$
 * @version $Revision:$
 */
public interface ILogic {
    public static interface OnAuthorizeListener {
        public void onStart();

        public void onFailed(Exception e);

        public void onComplete();
    }

    public static interface OnSendListener {
        public void onStart();

        public void onFailed();

        public void onComplete();
    }

    public static interface OnTimeLineListener {
        public void onStart();

        public void onFailed(Exception e);

        public void onComplete(LinkedList<HashMap<IField, Object>> list);
    }

    public static interface OnLoginListener {
        public void onLogin();

        public void onLogout();
    }
}
